1400
Is it possible to define my values for sorting
(exg2antt1.Columns.Add("C1") as exontrol.EXG2ANTTLib.Column).SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortUserDataString;
exg2antt1.Columns.Add("C2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellData(h,0,"3.your extra data");
	var_Items.set_CellValue(h,1,"SortValue=3");
	h = var_Items.AddItem("Cell 1.1");
	var_Items.set_CellData(h,0,"1.your extra data");
	var_Items.set_CellValue(h,1," SortValue=1");
	h = var_Items.AddItem("Cell 1.2");
	var_Items.set_CellData(h,0,"5.your extra data");
	var_Items.set_CellValue(h,1," SortValue=5");
	h = var_Items.AddItem("Cell 1.3");
	var_Items.set_CellData(h,0,"2.your extra data");
	var_Items.set_CellValue(h,1," SortValue=2");

1399
I have multiple dropdown lists, that are depending on each other, that means that the values in dropdown list no. 2 is based on the users selection in dropdown list no 1. How can I do this
// EditOpen event - Occurs when the edit operation starts.
private void exg2antt1_EditOpen(object sender)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		object v = var_Items.get_CellValue(var_Items.FocusItem,0);
		string c = var_Items.get_CellCaption(var_Items.FocusItem,0);
	exontrol.EXG2ANTTLib.Editor var_Editor = exg2antt1.Columns[1].Editor;
		var_Editor.ClearItems();
		var_Editor.AddItem(v,c.ToString(),null);
}
//this.exg2antt1.EditOpen += new exontrol.EXG2ANTTLib.exg2antt.EditOpenEventHandler(this.exg2antt1_EditOpen);

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("DropDownList") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownListType;
		var_Editor.AddItem(1,"First",null);
		var_Editor.AddItem(2,"Second",null);
		var_Editor.AddItem(3,"Third",null);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
(exg2antt1.Columns.Add("DropDownList-Related") as exontrol.EXG2ANTTLib.Column).Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DropDownListType;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,-1);
	var_Items.set_CellValue(var_Items.AddItem(2),1,-1);
	var_Items.set_CellValue(var_Items.AddItem(3),1,-1);
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exBottom,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exBottom,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemDividerLineAlignment(h,exontrol.EXG2ANTTLib.DividerAlignmentEnum.DividerTop);
	var_Items.set_CellEditorVisible(h,0,exontrol.EXG2ANTTLib.EditorVisibleEnum.exEditorHidden);
	var_Items.set_CellSingleLine(h,0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap);
	var_Items.set_CellValueFormat(h,0,exontrol.EXG2ANTTLib.ValueFormatEnum.exHTML);
	var_Items.set_CellValue(h,0,"The drop down editor in the second column is filled during the <b>EditOpen event</b>, and the values are based on the selection" +
" on the first column.");
exg2antt1.EndUpdate();

1398
Is it possible background color displayed when the mouse passes over an item
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Def");
exg2antt1.HotBackColor = Color.FromArgb(0,0,128);
exg2antt1.HotForeColor = Color.FromArgb(255,255,255);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exg2antt1.EndUpdate();

1397
Is it possible to magnify a specified date and apply a different background color

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.DrawLevelSeparator = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelNoLine;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("11/23/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 3;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.AllowInsideZoom = true;
	var_Chart.InsideZooms.Add(Convert.ToDateTime("11/29/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"))).AllowCustomFormat = true;
	exontrol.EXG2ANTTLib.InsideZoom var_InsideZoom = var_Chart.InsideZooms[Convert.ToDateTime("11/29/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"))];
		var_InsideZoom.Width = 68;
		var_InsideZoom.CustomFormat.BackColorChart = Color.FromArgb(224,224,224);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hA = var_Items.AddItem("Task A");
	var_Items.AddBar(hA,"Task",Convert.ToDateTime("11/24/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("11/26/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	int hB = var_Items.AddItem("Task B");
	var_Items.AddBar(hB,"Task",Convert.ToDateTime("11/28/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("12/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.AddLink("LinkAB",hA,"A",hB,"B");
	var_Items.set_Link("LinkAB",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStyle,2);
	var_Items.set_Link("LinkAB",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkWidth,2);
exg2antt1.EndUpdate();

1396
Could you please tell me how to add multiple bars to the one line

exg2antt1.BeginUpdate();
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.AddLink("AB",h,"A",h,"B");
exg2antt1.EndUpdate();

1395
My development environment does not have any Object,GetOcx,DefaultDispatch,GetControlUnknown,nativeObject, ... property, is there any alternative I can pass the component to PrintExt so I can get printed
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exg2antt1.EndUpdate();
exg2antt1.Template = "Dim p;p = CreateObject(`Exontrol.Print`);p.PrintExt = Me;p.AutoRelease = False;p.Preview();";

1394
My development environment does not have any Object,GetOcx,DefaultDispatch,GetControlUnknown,nativeObject, ... property, is there any alternative I can pass the component to PrintExt so I can get printed
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkStartPos,0);
exg2antt1.EndUpdate();
// Add 'exontrol.exprint.dll(ExPrint.dll)' reference to your project.
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
exontrol.EXPRINTLib.exprint var_Print = new exontrol.EXPRINTLib.exprint();
	var_Print.PrintExt = (exg2antt1.ExecuteTemplate("me") as exontrol.EXG2ANTTLib.exg2antt);
	var_Print.Preview();

1393
Is it possible to display the bar's captions or labels with a different font/size

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exg2antt1.DefaultItemHeight = 24;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","This is a the control's font");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Smaller");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","<font ;5>This is a the control's font with a smaller size");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Larger");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","<font ;15>This is a the control's font with a larger size");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Tahoma 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","<font Tahoma>This is using a Tahoma font");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Tahoma 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","<font Tahoma;14>This is using a <b>Tahoma</b> font with a different size");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
exg2antt1.EndUpdate();

1392
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("1","K1");
	var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x1;
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = exg2antt1.ConditionalFormats.Add("1","K2");
	var_ConditionalFormat1.BackColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat1.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x2;
exg2antt1.MarkSearchColumn = false;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(null);
	var_Items.AddItem(null);
	var_Items.AddItem(null);
exg2antt1.EndUpdate();

1391
Is it possible to change the height for all items at once
exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(0,true);
exg2antt1.EndUpdate();
exg2antt1.DefaultItemHeight = 12;
exg2antt1.Items.set_ItemHeight(0,12);

1390
Is it possible to include the weekday when displaying the date

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Tasks");
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column.FormatColumn = "value + '<font ;6> '  + (weekday(date(value)) case(0:'Sun';1:'Mon';2:'Tue';3:'Wed';4:'Thu';5:'Fri';6:'Sat'))";
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column1.FormatColumn = "value + '<font ;6> '  + (weekday(date(value)) case(0:'Sun';1:'Mon';2:'Tue';3:'Wed';4:'Thu';5:'Fri';6:'Sat'))";
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,256);
	var_Chart.NonworkingDays = 0;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1389
I need my chart to display the end date with on day less. How can I do this (Method 1)

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column.FormatColumn = "shortdate(date(value)-1)";
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	var_Chart.NonworkingDays = 0;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AllowCellValueToItemBar = true;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1388
Is it possible to display my custom time-units

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = 0;
	var_Chart.NonworkingDays = 0;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
		var_Level.Count = 16;
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<%i%>";
		var_Level.FormatLabel = "'Half ' + (1 + (value/16) mod 2)";
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%i%>";
		var_Level1.FormatLabel = "1 + value mod 16";
		var_Level1.set_ReplaceLabel(2.ToString(),"<font ;10><B>Y");
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,0);
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,31);

1387
Is it possible to add new records and see them in the control's view using the DataSource

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_SelectItem(Item,true);
		var_Items.EnsureVisibleItem(Item);
	exg2antt1.Edit(0);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	(exg2antt1.DataSource as ADODB.Recordset).AddNew(null,null);
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

ADODB.Recordset rs = new ADODB.Recordset();
	rs.Append("Task",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
	rs.Append("Start",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
	rs.Append("End",exontrol.ADODB.DataTypeEnum.adDate,0,null,null);
rs.Open(null,null,null,null,0);
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.DetectAddNew = true;
exg2antt1.DetectDelete = true;
exg2antt1.DataSource = (rs as ADODB.Recordset);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_ItemHeight(h,22);
	var_Items.set_CellValue(h,0,"AddNew");
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellHAlignment(h,0,exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment);

1386
How can I limit the bars to scrolling range only
// CreateBar event - Fired when the user creates a new bar.
private void exg2antt1_CreateBar(object sender,int   Item,DateTime   DateStart,DateTime   DateEnd)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_ItemBar(Item,"newbar",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMinStart,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exMinDate));
		var_Items.set_ItemBar(Item,"newbar",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarMaxEnd,exg2antt1.Chart.get_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exMaxDate));
}
//this.exg2antt1.CreateBar += new exontrol.EXG2ANTTLib.exg2antt.CreateBarEventHandler(this.exg2antt1_CreateBar);

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,56);
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exStartDate,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.set_ScrollRange(exontrol.EXG2ANTTLib.ScrollRangeEnum.exEndDate,Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/12/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Task 1");
	var_Items.AddItem("Task 2");
	var_Items.AddItem("Task 3");
exg2antt1.EndUpdate();

1385
How do I get the handle of the last added item
exg2antt1.Columns.Add("Def");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	System.Diagnostics.Debug.Print( var_Items[var_Items.ItemCount].ToString() );

1384
How can I set the charts date format to any other international Format then the US version. I would need "dd.mmm.yyyy" instead of "mmm.d.'yy"
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Label = "<%dd%>.<%mmm%>.<%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exWeek;
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.exHOutside | exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;

1383
Is it possible to define the bar colors, and have the cumulative histogram showing the same colors

exg2antt1.BeginUpdate();
exg2antt1.SingleSel = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.AllowLinkBars = false;
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/24/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramUnlockedItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramSelectedItems;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistCumulative;
		var_Bar.HistogramItems = 6;
		var_Bar.HistogramPattern = var_Bar.Pattern;
		var_Bar.HistogramCumulativeOriginalColorBars = exontrol.EXG2ANTTLib.HistogramCumulativeOriginalColorBarsEnum.exKeepOriginalColor;
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsOffset;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	var_Items.set_ItemBold(h,true);
	var_Items.set_SelectableItem(h,false);
	int h1 = var_Items.InsertItem(h,null,"Item 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h1 = var_Items.InsertItem(h,null,"Item 2");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	h1 = var_Items.InsertItem(h,null,"Item 3");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"green",null);
	var_Items.set_ItemBar(h1,"green",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,65280);
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"red",null);
	var_Items.set_ItemBar(h1,"red",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,255);
	var_Items.set_ExpandItem(h,true);
	var_Items.SelectAll();
exg2antt1.EndUpdate();

1382
How can I hide the values shown in the legend when cumulative histogram is displayed

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramUnlockedItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramCheckedItems;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistCumulative;
		var_Bar.HistogramItems = 6;
		var_Bar.HistogramRulerLinesColor = Color.FromArgb(128,0,0);
		var_Bar.HistogramBorderColor = Color.FromArgb(1,0,0);
		var_Bar.HistogramCumulativeShowLegend = 65535;
		var_Bar.HistogramCumulativeOriginalColorBars = exontrol.EXG2ANTTLib.HistogramCumulativeOriginalColorBarsEnum.exChangeColor;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project 1");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 3"),"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(var_Items[1],0,1);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1381
Is it possible to define the bar colors, and have the cumulative histogram showing the same colors

exg2antt1.BeginUpdate();
exg2antt1.SelBackColor = exg2antt1.BackColor;
exg2antt1.SelForeColor = exg2antt1.ForeColor;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramNoGrouping | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramLeafItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramUnlockedItems | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramCheckedItems;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Color = Color.FromArgb(128,128,128);
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistCumulative;
		var_Bar.HistogramItems = 6;
		var_Bar.HistogramRulerLinesColor = Color.FromArgb(128,0,0);
		var_Bar.HistogramBorderColor = Color.FromArgb(1,0,0);
		var_Bar.HistogramCumulativeColors = 2;
		var_Bar.set_HistogramCumulativeColor(0,Color.FromArgb(0,0,255));
		var_Bar.set_HistogramCumulativeColor(1,Color.FromArgb(0,0,255));
		var_Bar.HistogramCumulativeOriginalColorBars = exontrol.EXG2ANTTLib.HistogramCumulativeOriginalColorBarsEnum.exChangeColor;
		var_Bar.HistogramPattern = var_Bar.Pattern;
		var_Bar.HistogramCumulativeShowLegend = 65535;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project 1");
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 2"),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 3"),"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.InsertItem(h,null,"Item 4"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.set_CellState(var_Items[1],0,1);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1380
Is it possible to show the non-working pattern over the bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.NonworkingDaysPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
	var_Chart.NonworkingDaysColor = Color.FromArgb(0,0,0);
	var_Chart.set_PaneWidth(false,40);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramBackground | exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Bars var_Bars = var_Chart.Bars;
		exontrol.EXG2ANTTLib.Bar var_Bar = var_Bars.Add("Empty");
			var_Bar.Color = Color.FromArgb(0,0,0);
			var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFDiagonal;
			var_Bar.Shape = exontrol.EXG2ANTTLib.ShapeBarEnum.exShapeSolidFrameless;
		exontrol.EXG2ANTTLib.Bar var_Bar1 = var_Bars.Add("Task:Empty");
			var_Bar1.Shortcut = "Task";
			var_Bar1.HistogramItems = -5;
			var_Bar1.HistogramCriticalValue = 3;
			var_Bar1.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverload;
			var_Bar1.HistogramPattern = var_Bar1.Pattern;
			var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCaption,"<%=%258%> working days bar");
			var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
			var_Bar1.set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Chart.UnitWidthNonworking = -12;
	var_Chart.get_Level(1).FormatLabel = "weekday(dvalue) in (0,6) ? `` : value";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("6/24/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"",null);
exg2antt1.EndUpdate();

1379
I'm showing values from a ado recordset from sql 2005. When I try to edit a column with integers, it just skips back to the original numbers after pressing enter..., why
// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// Error event - Fired when an internal error occurs.
private void exg2antt1_Error(object sender,int   Err,string   Description)
{
	System.Diagnostics.Debug.Print( Err.ToString() );
	System.Diagnostics.Debug.Print( Description.ToString() );
}
//this.exg2antt1.Error += new exontrol.EXG2ANTTLib.exg2antt.ErrorEventHandler(this.exg2antt1_Error);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenKeyset,exontrol.ADODB.LockTypeEnum.adLockReadOnly,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

1378
Is it possible to reduce the non-working parts of the control

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,40);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
		var_Bar.HistogramPattern = var_Bar.Pattern;
	var_Chart.UnitWidthNonworking = -8;
	var_Chart.get_Level(1).FormatLabel = "weekday(dvalue) in (0,6) ? `` : value";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","4 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,4);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Task B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/30/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","2 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

1377
I don't want to see the "schedule"/show "workload" in non-working days part of the histogram

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,40);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
		var_Bar.HistogramPattern = var_Bar.Pattern;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.ShowNonworkingUnits = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","4 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,4);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Task B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/30/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","2 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

1376
The control shows, and handles non-working days PERFECT, but how is it possible to reflect this in the Histogram. I don't want to "schedule"/show "workload" in non-working days...

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,40);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/20/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.HistogramVisible = true;
	var_Chart.HistogramHeight = 64;
	var_Chart.HistogramView = exontrol.EXG2ANTTLib.HistogramViewEnum.exHistogramAllItems;
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.HistogramType = exontrol.EXG2ANTTLib.HistogramTypeEnum.exHistOverAllocation;
		var_Bar.HistogramPattern = var_Bar.Pattern;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/23/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/29/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","4 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,4);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	h = var_Items.AddItem("Task B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/28/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/30/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","2 working days bar");
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanResize,false);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarEffort,2);
	var_Items.set_ItemBar(h,"",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

1375
When I do select the button in the overview-zoom I want the scaling to change accordingly. Can I set different scales per selected zoom level

// OverviewZoom event - Occurs once the user selects a new time scale unit in the overview zoom area.
private void exg2antt1_OverviewZoom(object sender)
{
	System.Diagnostics.Debug.Print( exg2antt1.Chart.UnitScale.ToString() );
}
//this.exg2antt1.OverviewZoom += new exontrol.EXG2ANTTLib.exg2antt.OverviewZoomEventHandler(this.exg2antt1_OverviewZoom);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"");

1374
How do I display Icons instead of text in the overview zoom area

exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"");
	System.Diagnostics.Debug.Print( var_Chart.OverviewZoomCaption );
	var_Chart.OverviewZoomCaption = "Year|½Year|¼Year|Month|Third|<img>1</img>|Day|Hour|Min|Sec";

1373
How do I get it to only display Min, Hour, Day, Week , Month, ie remove Sec and Year in the overview area
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"");

1372
Is it possible to show quarter hours markers

exg2antt1.BeginUpdate();
exg2antt1.GridLineColor = Color.FromArgb(0,0,0);
exg2antt1.VisualAppearance.Add(3,"gBFLBCJwBAEHhEJAEGg4BdMIQAAYAQGKIYBkAKBQAGaAoDDUNw5QwAAwjSKkEwsACEIrjKCRShyCYZRhGcTAFBMIhkGoSZKlCIRVDCKYJDbKACSFKkNQ7AabZBgOQJV" +
"gOKovThKcIybQAASJCKRY7nUIIJA+SoDSRAbqhYIgASnKqLJAkACIJJAaRjHQdJxGKKMQANBghCZseKhWgkKIJUxAdLTWAAMQuaCoZ5icRAca2fJ+XzfeBYDgmAYNQbD" +
"cJhHCMMwXDaJZBiGJ4dimI4rR7JIDzDJ8cxbEKTZ5meg5boGRZNTrMQA0fQ9MynK6vahfOi7DpuaZnWrcMb2fYNZwrGq0bxoW58BwmP5/XrkNa4XgcVgmAUBA");
exg2antt1.HeaderHeight = 20;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.exHOutside;
		var_Level.Label = "<%dddd%>, <%mmmm%> <b><%d%></b>, <%yyyy%>";
		var_Level.DrawTickLines = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelSolidLine;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%hh%>:00";
		var_Level1.BackColor32 = 0x3000000;
		var_Level1.DrawTickLines = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelSolidLine;
	var_Chart.DrawLevelSeparator = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelSolidLine;
	var_Chart.UnitWidth = 64;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.ResizeUnitCount = 15;
exg2antt1.EndUpdate();

1371
How can I ensure or always show the labels on the chart part, when scrolling the chart to left or right
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.UnitWidth = 48;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.exHOutside | exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<%dddd%>, <%mmmm%> <b><%d%></b>, <%yyyy%>";
	var_Chart.get_Level(1).Label = "<%hh%>:00";
exg2antt1.EndUpdate();

1370
I associate the Start and End columns with bars, but some of them are not shown. What am I doing wrong
exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/25/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Start") as exontrol.EXG2ANTTLib.Column);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"K1");
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
	var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"K1");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem(null),"Task",Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem(null),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem(null),"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"????","????");
exg2antt1.EndUpdate();

1369
How can I implement OLE Drag and Drop operation
// OLEStartDrag event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events.
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
exg2antt1.OLEDropMode = exontrol.EXG2ANTTLib.exOLEDropModeEnum.exOLEDropManual;
exg2antt1.EndUpdate();

1368
I can not associate the bar's start and end properties with my start/end columns, only if the bar's key is empty or null. What can I do

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	exg2antt1.BeginUpdate();
	exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
		var_Columns["Tasks"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"B");
		var_Columns["Start"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"B");
		var_Columns["End"].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"B");
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.set_CellValue(Item,1,"B");
		var_Items.set_ItemBar(0,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,0);
		var_Items.set_ItemBar(0,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,16775408);
	exg2antt1.EndUpdate();
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Tasks") as exontrol.EXG2ANTTLib.Column);
		var_Column.Width = 32;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,3);
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
		var_Column1.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DateType;
	exontrol.EXG2ANTTLib.Column var_Column2 = (var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column);
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
		var_Column2.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarKey,"A");
		var_Column2.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.DateType;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = true;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,196);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
		var_Bar.OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
		var_Bar.set_Overlaid(exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsTransparent,80);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_LockedItemCount(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(exontrol.EXG2ANTTLib.VAlignmentEnum.exTop,0);
	var_Items.set_CellValue(h,0,"Select");
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellMerge(h,1,2);
	var_Items.set_CellValue(h,1,"A");
	var_Items.get_CellEditor(h,1).EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
exontrol.EXG2ANTTLib.Items var_Items1 = exg2antt1.Items;
	var_Items1.AllowCellValueToItemBar = true;
	h = var_Items1.AddItem("Task 1");
	var_Items1.AddBar(h,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items1.AddBar(h,"Task",Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items1.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,16775408);
	h = var_Items1.AddItem("Task 2");
	var_Items1.AddBar(h,"Task",Convert.ToDateTime("9/22/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/25/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","A");
	var_Items1.AddBar(h,"Task",Convert.ToDateTime("9/26/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/29/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","B");
	var_Items1.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarColor,16775408);
exg2antt1.EndUpdate();

1367
How can I determine the order of the events
// AddLink event - Occurs when the user links two bars using the mouse.
private void exg2antt1_AddLink(object sender,string   LinkKey)
{
	System.Diagnostics.Debug.Print( "AddLink" );
	System.Diagnostics.Debug.Print( LinkKey.ToString() );
}
//this.exg2antt1.AddLink += new exontrol.EXG2ANTTLib.exg2antt.AddLinkEventHandler(this.exg2antt1_AddLink);

// AfterExpandItem event - Fired after an item is expanded (collapsed).
private void exg2antt1_AfterExpandItem(object sender,int   Item)
{
	System.Diagnostics.Debug.Print( "AfterExpandItem" );
	System.Diagnostics.Debug.Print( Item.ToString() );
}
//this.exg2antt1.AfterExpandItem += new exontrol.EXG2ANTTLib.exg2antt.AfterExpandItemEventHandler(this.exg2antt1_AfterExpandItem);

// AllowLink event - Notifies at runtime when a link between two bars is possible.
private void exg2antt1_AllowLink(object sender,int   StartItem,object   StartBarKey,int   EndItem,object   EndBarKey,ref object   LinkKey,ref bool   Cancel)
{
	System.Diagnostics.Debug.Print( "AllowLink" );
	System.Diagnostics.Debug.Print( StartItem.ToString() );
	System.Diagnostics.Debug.Print( StartBarKey.ToString() );
	System.Diagnostics.Debug.Print( EndItem.ToString() );
	System.Diagnostics.Debug.Print( EndBarKey.ToString() );
	System.Diagnostics.Debug.Print( LinkKey.ToString() );
}
//this.exg2antt1.AllowLink += new exontrol.EXG2ANTTLib.exg2antt.AllowLinkEventHandler(this.exg2antt1_AllowLink);

// AnchorClick event - Occurs when an anchor element is clicked.
private void exg2antt1_AnchorClick(object sender,string   AnchorID,string   Options)
{
	System.Diagnostics.Debug.Print( "AnchorClick" );
	System.Diagnostics.Debug.Print( AnchorID.ToString() );
	System.Diagnostics.Debug.Print( Options.ToString() );
}
//this.exg2antt1.AnchorClick += new exontrol.EXG2ANTTLib.exg2antt.AnchorClickEventHandler(this.exg2antt1_AnchorClick);

// BarParentChange event - Occurs just before moving a bar from current item to another item.
private void exg2antt1_BarParentChange(object sender,int   Item,object   Key,int   NewItem,ref bool   Cancel)
{
	System.Diagnostics.Debug.Print( "BarParentChange" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( Key.ToString() );
	System.Diagnostics.Debug.Print( NewItem.ToString() );
}
//this.exg2antt1.BarParentChange += new exontrol.EXG2ANTTLib.exg2antt.BarParentChangeEventHandler(this.exg2antt1_BarParentChange);

// BarResize event - Occurs when a bar is moved or resized.
private void exg2antt1_BarResize(object sender,int   Item,object   Key)
{
	System.Diagnostics.Debug.Print( "BarResize" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( Key.ToString() );
}
//this.exg2antt1.BarResize += new exontrol.EXG2ANTTLib.exg2antt.BarResizeEventHandler(this.exg2antt1_BarResize);

// BarResizing event - Occurs when a bar is moving or resizing.
private void exg2antt1_BarResizing(object sender,int   Item,object   Key)
{
	System.Diagnostics.Debug.Print( "BarResizing" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( Key.ToString() );
}
//this.exg2antt1.BarResizing += new exontrol.EXG2ANTTLib.exg2antt.BarResizingEventHandler(this.exg2antt1_BarResizing);

// BeforeExpandItem event - Fired before an item is about to be expanded (collapsed).
private void exg2antt1_BeforeExpandItem(object sender,int   Item,ref object   Cancel)
{
	System.Diagnostics.Debug.Print( "BeforeExpandItem" );
	System.Diagnostics.Debug.Print( Item.ToString() );
}
//this.exg2antt1.BeforeExpandItem += new exontrol.EXG2ANTTLib.exg2antt.BeforeExpandItemEventHandler(this.exg2antt1_BeforeExpandItem);

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	System.Diagnostics.Debug.Print( "ButtonClick" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( ColIndex.ToString() );
	System.Diagnostics.Debug.Print( Key.ToString() );
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

// CellImageClick event - Fired after the user clicks on the image's cell area.
private void exg2antt1_CellImageClick(object sender,int   Item,int   ColIndex)
{
	System.Diagnostics.Debug.Print( "CellImageClick" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( ColIndex.ToString() );
}
//this.exg2antt1.CellImageClick += new exontrol.EXG2ANTTLib.exg2antt.CellImageClickEventHandler(this.exg2antt1_CellImageClick);

// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	System.Diagnostics.Debug.Print( "CellStateChanged" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( ColIndex.ToString() );
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

// Change event - Occurs when the user changes the cell's content.
private void exg2antt1_Change(object sender,int   Item,int   ColIndex,ref object   NewValue)
{
	System.Diagnostics.Debug.Print( "Change" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( ColIndex.ToString() );
	System.Diagnostics.Debug.Print( NewValue.ToString() );
}
//this.exg2antt1.Change += new exontrol.EXG2ANTTLib.exg2antt.ChangeEventHandler(this.exg2antt1_Change);

// ChartEndChanging event - Occurs after the chart has been changed.
private void exg2antt1_ChartEndChanging(object sender,exontrol.EXG2ANTTLib.BarOperationEnum   Operation)
{
	System.Diagnostics.Debug.Print( "ChartEndChanging" );
	System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exg2antt1.ChartEndChanging += new exontrol.EXG2ANTTLib.exg2antt.ChartEndChangingEventHandler(this.exg2antt1_ChartEndChanging);

// ChartSelectionChanged event - Occurs when the user selects objects in the chart area.
private void exg2antt1_ChartSelectionChanged(object sender)
{
	System.Diagnostics.Debug.Print( "ChartSelectionChanged" );
}
//this.exg2antt1.ChartSelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.ChartSelectionChangedEventHandler(this.exg2antt1_ChartSelectionChanged);

// ChartStartChanging event - Occurs when the chart is about to be changed.
private void exg2antt1_ChartStartChanging(object sender,exontrol.EXG2ANTTLib.BarOperationEnum   Operation)
{
	System.Diagnostics.Debug.Print( "ChartStartChanging" );
	System.Diagnostics.Debug.Print( Operation.ToString() );
}
//this.exg2antt1.ChartStartChanging += new exontrol.EXG2ANTTLib.exg2antt.ChartStartChangingEventHandler(this.exg2antt1_ChartStartChanging);

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	System.Diagnostics.Debug.Print( "Click" );
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

// ColumnClick event - Fired after the user clicks on column's header.
private void exg2antt1_ColumnClick(object sender,exontrol.EXG2ANTTLib.Column   Column)
{
	System.Diagnostics.Debug.Print( "ColumnClick" );
}
//this.exg2antt1.ColumnClick += new exontrol.EXG2ANTTLib.exg2antt.ColumnClickEventHandler(this.exg2antt1_ColumnClick);

// CreateBar event - Fired when the user creates a new bar.
private void exg2antt1_CreateBar(object sender,int   Item,DateTime   DateStart,DateTime   DateEnd)
{
	System.Diagnostics.Debug.Print( "CreateBar" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( DateStart.ToString() );
	System.Diagnostics.Debug.Print( DateEnd.ToString() );
}
//this.exg2antt1.CreateBar += new exontrol.EXG2ANTTLib.exg2antt.CreateBarEventHandler(this.exg2antt1_CreateBar);

// DateChange event - Occurs when the first visible date is changed.
private void exg2antt1_DateChange(object sender)
{
	System.Diagnostics.Debug.Print( "DateChange" );
}
//this.exg2antt1.DateChange += new exontrol.EXG2ANTTLib.exg2antt.DateChangeEventHandler(this.exg2antt1_DateChange);

// DblClick event - Occurs when the user dblclk the left mouse button over an object.
private void exg2antt1_DblClick(object sender,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( "DblClick" );
	System.Diagnostics.Debug.Print( Shift.ToString() );
	System.Diagnostics.Debug.Print( X.ToString() );
	System.Diagnostics.Debug.Print( Y.ToString() );
	exg2antt1.Edit(null);
}
//this.exg2antt1.DblClick += new exontrol.EXG2ANTTLib.exg2antt.DblClickEventHandler(this.exg2antt1_DblClick);

// Edit event - Occurs just before editing the focused cell.
private void exg2antt1_EditEvent(object sender,int   Item,int   ColIndex,ref bool   Cancel)
{
	System.Diagnostics.Debug.Print( "Edit" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( ColIndex.ToString() );
}
//this.exg2antt1.EditEvent += new exontrol.EXG2ANTTLib.exg2antt.EditEventHandler(this.exg2antt1_EditEvent);

// EditClose event - Occurs when the edit operation ends.
private void exg2antt1_EditCloseEvent(object sender)
{
	System.Diagnostics.Debug.Print( "EditClose" );
}
//this.exg2antt1.EditCloseEvent += new exontrol.EXG2ANTTLib.exg2antt.EditCloseEventHandler(this.exg2antt1_EditCloseEvent);

// EditOpen event - Occurs when the edit operation starts.
private void exg2antt1_EditOpen(object sender)
{
	System.Diagnostics.Debug.Print( "EditOpen" );
}
//this.exg2antt1.EditOpen += new exontrol.EXG2ANTTLib.exg2antt.EditOpenEventHandler(this.exg2antt1_EditOpen);

// FilterChange event - Occurs when the filter was changed.
private void exg2antt1_FilterChange(object sender)
{
	System.Diagnostics.Debug.Print( "FilterChange" );
}
//this.exg2antt1.FilterChange += new exontrol.EXG2ANTTLib.exg2antt.FilterChangeEventHandler(this.exg2antt1_FilterChange);

// FilterChanging event - Notifies your application that the filter is about to change.
private void exg2antt1_FilterChanging(object sender)
{
	System.Diagnostics.Debug.Print( "FilterChanging" );
}
//this.exg2antt1.FilterChanging += new exontrol.EXG2ANTTLib.exg2antt.FilterChangingEventHandler(this.exg2antt1_FilterChanging);

// FocusChanged event - Occurs when a cell gets the focus.
private void exg2antt1_FocusChanged(object sender)
{
	System.Diagnostics.Debug.Print( "FocusChanged" );
}
//this.exg2antt1.FocusChanged += new exontrol.EXG2ANTTLib.exg2antt.FocusChangedEventHandler(this.exg2antt1_FocusChanged);

// InsideZoom event - Notifies your application that a date is about to be magnified.
private void exg2antt1_InsideZoom(object sender,DateTime   DateTime)
{
	System.Diagnostics.Debug.Print( "InsideZoom" );
	System.Diagnostics.Debug.Print( DateTime.ToString() );
}
//this.exg2antt1.InsideZoom += new exontrol.EXG2ANTTLib.exg2antt.InsideZoomEventHandler(this.exg2antt1_InsideZoom);

// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void exg2antt1_KeyDown(object sender,ref short   KeyCode,short   Shift)
{
	System.Diagnostics.Debug.Print( "KeyDown" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
	System.Diagnostics.Debug.Print( Shift.ToString() );
}
//this.exg2antt1.KeyDown += new exontrol.EXG2ANTTLib.exg2antt.KeyDownEventHandler(this.exg2antt1_KeyDown);

// KeyPress event - Occurs when the user presses and releases an ANSI key.
private void exg2antt1_KeyPress(object sender,ref short   KeyAscii)
{
	System.Diagnostics.Debug.Print( "KeyPress" );
	System.Diagnostics.Debug.Print( KeyAscii.ToString() );
}
//this.exg2antt1.KeyPress += new exontrol.EXG2ANTTLib.exg2antt.KeyPressEventHandler(this.exg2antt1_KeyPress);

// KeyUp event - Occurs when the user releases a key while an object has the focus.
private void exg2antt1_KeyUp(object sender,ref short   KeyCode,short   Shift)
{
	System.Diagnostics.Debug.Print( "KeyUp" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
	System.Diagnostics.Debug.Print( Shift.ToString() );
}
//this.exg2antt1.KeyUp += new exontrol.EXG2ANTTLib.exg2antt.KeyUpEventHandler(this.exg2antt1_KeyUp);

// LayoutChanged event - Occurs when column's position or column's size is changed.
private void exg2antt1_LayoutChanged(object sender)
{
	System.Diagnostics.Debug.Print( "LayoutChanged" );
}
//this.exg2antt1.LayoutChanged += new exontrol.EXG2ANTTLib.exg2antt.LayoutChangedEventHandler(this.exg2antt1_LayoutChanged);

// MouseDown event - Occurs when the user presses a mouse button.
private void exg2antt1_MouseDownEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( "MouseDown" );
	System.Diagnostics.Debug.Print( Button.ToString() );
	System.Diagnostics.Debug.Print( Shift.ToString() );
	System.Diagnostics.Debug.Print( X.ToString() );
	System.Diagnostics.Debug.Print( Y.ToString() );
}
//this.exg2antt1.MouseDownEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseDownEventHandler(this.exg2antt1_MouseDownEvent);

// MouseMove event - Occurs when the user moves the mouse.
private void exg2antt1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
}
//this.exg2antt1.MouseMoveEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseMoveEventHandler(this.exg2antt1_MouseMoveEvent);

// MouseUp event - Occurs when the user releases a mouse button.
private void exg2antt1_MouseUpEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	System.Diagnostics.Debug.Print( "MouseUp" );
	System.Diagnostics.Debug.Print( Button.ToString() );
	System.Diagnostics.Debug.Print( Shift.ToString() );
	System.Diagnostics.Debug.Print( X.ToString() );
	System.Diagnostics.Debug.Print( Y.ToString() );
}
//this.exg2antt1.MouseUpEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseUpEventHandler(this.exg2antt1_MouseUpEvent);

// OffsetChanged event - Occurs when the scroll position has been changed.
private void exg2antt1_OffsetChanged(object sender,bool   Horizontal,int   NewVal)
{
	System.Diagnostics.Debug.Print( "OffsetChanged" );
	System.Diagnostics.Debug.Print( Horizontal.ToString() );
	System.Diagnostics.Debug.Print( NewVal.ToString() );
}
//this.exg2antt1.OffsetChanged += new exontrol.EXG2ANTTLib.exg2antt.OffsetChangedEventHandler(this.exg2antt1_OffsetChanged);

// OversizeChanged event - Occurs when the right range of the scroll has been changed.
private void exg2antt1_OversizeChanged(object sender,bool   Horizontal,int   NewVal)
{
	System.Diagnostics.Debug.Print( "OversizeChanged" );
	System.Diagnostics.Debug.Print( Horizontal.ToString() );
	System.Diagnostics.Debug.Print( NewVal.ToString() );
}
//this.exg2antt1.OversizeChanged += new exontrol.EXG2ANTTLib.exg2antt.OversizeChangedEventHandler(this.exg2antt1_OversizeChanged);

// OverviewZoom event - Occurs once the user selects a new time scale unit in the overview zoom area.
private void exg2antt1_OverviewZoom(object sender)
{
	System.Diagnostics.Debug.Print( "OverviewZoom" );
}
//this.exg2antt1.OverviewZoom += new exontrol.EXG2ANTTLib.exg2antt.OverviewZoomEventHandler(this.exg2antt1_OverviewZoom);

// RClick event - Fired when right mouse button is clicked
private void exg2antt1_RClick(object sender)
{
	System.Diagnostics.Debug.Print( "RClick" );
}
//this.exg2antt1.RClick += new exontrol.EXG2ANTTLib.exg2antt.RClickEventHandler(this.exg2antt1_RClick);

// ScrollButtonClick event - Occurs when the user clicks a button in the scrollbar.
private void exg2antt1_ScrollButtonClick(object sender,exontrol.EXG2ANTTLib.ScrollBarEnum   ScrollBar,exontrol.EXG2ANTTLib.ScrollPartEnum   ScrollPart)
{
	System.Diagnostics.Debug.Print( "ScrollButtonClick" );
	System.Diagnostics.Debug.Print( ScrollBar.ToString() );
	System.Diagnostics.Debug.Print( ScrollPart.ToString() );
}
//this.exg2antt1.ScrollButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ScrollButtonClickEventHandler(this.exg2antt1_ScrollButtonClick);

// SelectionChanged event - Fired after a new item has been selected.
private void exg2antt1_SelectionChanged(object sender)
{
	System.Diagnostics.Debug.Print( "SelectionChanged" );
}
//this.exg2antt1.SelectionChanged += new exontrol.EXG2ANTTLib.exg2antt.SelectionChangedEventHandler(this.exg2antt1_SelectionChanged);

// Sort event - Fired when the control sorts a column.
private void exg2antt1_Sort(object sender)
{
	System.Diagnostics.Debug.Print( "Sort" );
}
//this.exg2antt1.Sort += new exontrol.EXG2ANTTLib.exg2antt.SortEventHandler(this.exg2antt1_Sort);

exg2antt1.BeginUpdate();
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDash;
exg2antt1.AutoEdit = false;
exg2antt1.ExpandOnDblClick = false;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowInsideZoom = true;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
	var_Chart.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesVSolid | exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDash;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"");
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Column") as exontrol.EXG2ANTTLib.Column);
		var_Column.DisplayFilterButton = true;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Button") as exontrol.EXG2ANTTLib.Column);
		var_Column1.AllowSizing = false;
		var_Column1.Width = 18;
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasButton,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("parent");
	var_Items.set_CellImage(h,0,1);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","<a>A</a>");
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"This is a bit of text that should be shown when cursor hovers the bar");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B","<a>B</a>");
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"B",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	var_Items.InsertItem(h,"","child");
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1366
How can I change the chart's horizontal grid lines
exg2antt1.BeginUpdate();
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDash;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
	var_Chart.GridLineStyle = exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesVSolid | exontrol.EXG2ANTTLib.GridLinesStyleEnum.exGridLinesHDash;
	var_Chart.LevelCount = 2;
	var_Chart.get_Level(0).DrawGridLines = true;
	var_Chart.Bars["Task"].Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternSolid;
exg2antt1.Columns.Add("Column");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B",null);
exg2antt1.EndUpdate();

1365
Is there any way to determine whether the ADO operations fails
// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

// Error event - Fired when an internal error occurs.
private void exg2antt1_Error(object sender,int   Err,string   Description)
{
	System.Diagnostics.Debug.Print( Err.ToString() );
	System.Diagnostics.Debug.Print( Description.ToString() );
}
//this.exg2antt1.Error += new exontrol.EXG2ANTTLib.exg2antt.ErrorEventHandler(this.exg2antt1_Error);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenKeyset,exontrol.ADODB.LockTypeEnum.adLockReadOnly,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

1364
Is it possible to select a column instead sorting it
// ColumnClick event - Fired after the user clicks on column's header.
private void exg2antt1_ColumnClick(object sender,exontrol.EXG2ANTTLib.Column   Column)
{
	// Column.Selected = True
	exg2antt1.BeginUpdate();
	exg2antt1.Columns[0].Selected = false;
	exg2antt1.Columns[1].Selected = false;
	exg2antt1.Items.SelectAll();
	exg2antt1.EndUpdate();
}
//this.exg2antt1.ColumnClick += new exontrol.EXG2ANTTLib.exg2antt.ColumnClickEventHandler(this.exg2antt1_ColumnClick);

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.ShowFocusRect = false;
exg2antt1.SingleSel = false;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exRectSel;
exg2antt1.SortOnClick = exontrol.EXG2ANTTLib.SortOnClickEnum.exNoSort;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column1");
	var_Columns.Add("Column2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("One"),1,"Three");
	var_Items.set_CellValue(var_Items.AddItem("Two"),1,"Four");
	var_Items.SelectAll();
exg2antt1.EndUpdate();

1363
I am using the exRectSel, and clicking the first column, has no effect, instead if I click other it works as it should
exg2antt1.BeginUpdate();
exg2antt1.SearchColumnIndex = -1;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exRectSel;
exg2antt1.ShowFocusRect = false;
exg2antt1.MarkSearchColumn = false;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column1");
	var_Columns.Add("Column2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(1),1,2);
	var_Items.set_CellValue(var_Items.AddItem(3),1,4);
	var_Items.set_CellValue(var_Items.AddItem(5),1,6);
exg2antt1.EndUpdate();

1362
Is it possible to display empty strings for 0 values
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Currency") as exontrol.EXG2ANTTLib.Column);
	var_Column.FormatColumn = "dbl(value) ? currency(dbl(value)) : ``";
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
		var_Editor.Numeric = exontrol.EXG2ANTTLib.NumericEnum.exFloat;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(1.23);
	var_Items.AddItem(2.34);
	var_Items.AddItem(0);
	var_Items.AddItem(10000.99);

1361
Is it possible to display empty strings for 0 values
exg2antt1.Columns.Add("Number");
(exg2antt1.Columns.Add("Currency") as exontrol.EXG2ANTTLib.Column).ComputedField = "%0 ? currency(%0) : ``";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(1.23);
	var_Items.AddItem(2.34);
	var_Items.AddItem(0);
	var_Items.AddItem(10000.99);

1360
How can I hide a date from the chart view, when I display hours instead days

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 32;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	var_Chart.AllowInsideZoom = true;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%>-<%mmm%>-<%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.FormatLabel = "date(int(dvalue)) case (#06/08/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>23/20'; 8 : 'Shift <b>2</b><br>38/30' ; 16 : '" +
"Shift <b>3</b><br>24/24' ) ) ; #06/09/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>15/20'; 8 : 'Shift <b>2</b><br>30/32' ; " +
"16 : 'Shift <b>3</b><br>26/24' ) ) )";
	var_Chart.UnitWidth = 64;
	var_Chart.NonworkingDays = 0;
	var_Chart.AllowInsideZoom = true;
	var_Chart.DefaultInsideZoomFormat.InsideUnit = exontrol.EXG2ANTTLib.UnitEnum.exMinute;
	var_Chart.AllowResizeInsideZoom = false;
	var_Chart.InsideZoomOnDblClick = false;
	exontrol.EXG2ANTTLib.InsideZooms var_InsideZooms = var_Chart.InsideZooms;
		var_InsideZooms.SplitBaseLevel = false;
		var_InsideZooms.DefaultWidth = 0;
	exontrol.EXG2ANTTLib.InsideZooms var_InsideZooms1 = var_Chart.InsideZooms;
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 8:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
		var_InsideZooms1.Add(Convert.ToDateTime("6/9/2011 16:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1359
I’ve created a skin (EBN) for the bars of my chart, with rounded top corners. The problem, is that these rounded corners are applied also at beginning and the end of the non working units. Is it possible to show a different picture/skin for the non-working part of the bars

exg2antt1.BeginUpdate();
exg2antt1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
exg2antt1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
exg2antt1.Columns.Add("Task");
exg2antt1.Chart.set_PaneWidth(false,128);
exontrol.EXG2ANTTLib.Bars var_Bars = exg2antt1.Chart.Bars;
	var_Bars["Task"].Color32 = 0x1000000;
	var_Bars["Split"].Color32 = 0x2000000;
	var_Bars.Add("Task:Split").Shortcut = "TS";
exg2antt1.Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task"),"TS",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/16/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1358
How do I display the names of the tasks on bars but not in the middle of the bar (left or right)

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("12/27/2000",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars["Task"];
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternDot;
		var_Bar.Height = 15;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Task 1");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","<b>to do</b> ");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,2);
	h = var_Items.AddItem("Task 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","<b>to do</b>");
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	h = var_Items.AddItem("Task 3");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1"," <b>to do</b>");
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,0);
	h = var_Items.AddItem("Task 4");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","<b>to do</b>");
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,16);
exg2antt1.EndUpdate();

1357
How can I get the list of items as they are displayed
exg2antt1.BeginUpdate();
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exg2antt1.Columns.Add("Names");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Mantel");
	var_Items.AddItem("Mechanik");
	var_Items.AddItem("Motor");
	var_Items.AddItem("Murks");
	var_Items.AddItem("Märchen");
	var_Items.AddItem("Möhren");
	var_Items.AddItem("Mühle");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();
System.Diagnostics.Debug.Print( exg2antt1.GetItems(1).ToString() );

1356
How can I disable the left and right arrows to move to next cell while editing
exontrol.EXG2ANTTLib.Editor var_Editor = (exg2antt1.Columns.Add("Edit") as exontrol.EXG2ANTTLib.Column).Editor;
	var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
	var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exLeftArrow,0);
	var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exRightArrow,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Cell 1");
	var_Items.AddItem("Cell 2");
	var_Items.AddItem("Cell 3");

1355
Is it possible to define a bar that is treated as a non-working hour so user can move it at runtime

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,48);
	var_Chart.AllowNonworkingBars = true;
	var_Chart.Bars.Add("Task:Split").Shortcut = "Task";
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
	var_Chart.get_Level(1).Label = "<font ;4><%hh%>";
	var_Chart.UnitWidth = 12;
	var_Chart.NonworkingDaysPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
	var_Chart.NonworkingDays = 0;
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Machine");
	var_Items.set_ItemNonworkingUnits(h,false,"0");
	var_Items.AddBar(h,"",Convert.ToDateTime("1/1/2001 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2001 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"A","pause");
	var_Items.set_ItemBar(h,"A",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarTreatAsNonworking,true);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/1/2001 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2001 17:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Z",null);
	var_Items.set_ItemBar(h,"Z",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
exg2antt1.EndUpdate();

1354
Is it possible to customize the chart's header so I can display shift and other values

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 32;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%> - <%mmmm%> - <%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.FormatLabel = "date(int(dvalue)) case (#06/08/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>23/20'; 8 : 'Shift <b>2</b><br>38/30' ; 16 : '" +
"Shift <b>3</b><br>24/24' ) ) ; #06/09/2011# : (int(value) case ( 0 : 'Shift <b>1</b><br>15/20'; 8 : 'Shift <b>2</b><br>30/32' ; " +
"16 : 'Shift <b>3</b><br>26/24' ) ) )";
	var_Chart.UnitWidth = 64;
	var_Chart.NonworkingDays = 0;
exg2antt1.EndUpdate();

1353
How can I change both start and end dates of the bar
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Tasks");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("6/19/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Test");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/27/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"t1",null);
	var_Items.AddBar(h,var_Items.get_ItemBar(h,"t1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarName),Convert.ToDateTime("6/21/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("6/22/2005",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"t1",null);
exg2antt1.EndUpdate();

1352
Is it possible to add new rows, as I type like in Excel
// EditClose event - Occurs when the edit operation ends.
private void exg2antt1_EditCloseEvent(object sender)
{
	exg2antt1.Items.AddItem("");
}
//this.exg2antt1.EditCloseEvent += new exontrol.EXG2ANTTLib.exg2antt.EditCloseEventHandler(this.exg2antt1_EditCloseEvent);

exg2antt1.BeginUpdate();
exg2antt1.AutoEdit = true;
(exg2antt1.Columns.Add("Default") as exontrol.EXG2ANTTLib.Column).Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exColumnSel;
exg2antt1.Items.AddItem("");
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines;
exg2antt1.ScrollBars = exontrol.EXG2ANTTLib.ScrollBarsEnum.exDisableBoth;
exg2antt1.EndUpdate();

1351
How do I load bars from my table/database
// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
		var_Items.AddBar(Item,"Task",var_Items.get_CellValue(Item,2),var_Items.get_CellValue(Item,4),null,null);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("8/3/1994",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,256);
	var_Chart.LevelCount = 2;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible;
exg2antt1.ColumnAutoResize = false;
exg2antt1.ContinueColumnScroll = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExG2antt\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exg2antt1.DataSource = (rs as ADODB.Recordset);
exg2antt1.Items.AllowCellValueToItemBar = true;
exg2antt1.Columns[2].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
exg2antt1.Columns[4].set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
exg2antt1.EndUpdate();

1350
Is posible to reduce the size of the picture to be shown in the bar's caption

exg2antt1.BeginUpdate();
exg2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exg2antt1.Columns.Add("Task");
exg2antt1.ScrollBySingleLine = true;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,78);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Default-Size");
	var_Items.set_ItemHeight(h,48);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1","<img>pic1</img>");
	h = var_Items.AddItem("Custom-Size");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2","<img>pic1:18</img>");
exg2antt1.EndUpdate();

1349
Is posible to reduce the size of the picture to be shown in the column's caption
exg2antt1.BeginUpdate();
exg2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
exg2antt1.HeaderHeight = 48;
(exg2antt1.Columns.Add("DefaultSize") as exontrol.EXG2ANTTLib.Column).HTMLCaption = "Default-Size <img>pic1</img> Picture";
(exg2antt1.Columns.Add("CustomSize") as exontrol.EXG2ANTTLib.Column).HTMLCaption = "Custom-Size <img>pic1:16</img> Picture";
exg2antt1.EndUpdate();

1348
Is it possible to display the selected dates using a solid color instead vertical lines

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,128);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTodayColor = var_Chart.BackColor;
	var_Chart.LevelCount = 2;
	var_Chart.MarkSelectDateColor32 = 0x7fcbc0ff;
	var_Chart.SelectLevel = 1;
	var_Chart.set_SelectDate(Convert.ToDateTime("1/8/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/9/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
	var_Chart.set_SelectDate(Convert.ToDateTime("1/10/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),true);
exg2antt1.DefaultItemHeight = 72;
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem(""),"",Convert.ToDateTime("1/7/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/12/2008",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"","<b>MarkSelectDateColor(32)</b><br>should be <font ;11><i>0x7F000000 + RGB(rr,gg,bb)</i></font><br> or in the format as: <font ;" +
"11><i>0x7FBBGGRR</i></font>, <br>where BB is the hexa value for Blue, <br>GG for grean and so on.");
exg2antt1.EndUpdate();

1347
How can I show the cells using a different background color based on the condition I have
exg2antt1.BeginUpdate();
exg2antt1.SelBackMode = exontrol.EXG2ANTTLib.BackModeEnum.exTransparent;
exg2antt1.ShowFocusRect = false;
exontrol.EXG2ANTTLib.ConditionalFormats var_ConditionalFormats = exg2antt1.ConditionalFormats;
	exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("dbl(%1)-dbl(%0) = 1",null);
		var_ConditionalFormat.BackColor = Color.FromArgb(255,0,0);
		var_ConditionalFormat.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x1;
	exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("dbl(%0)-dbl(%1) = 3",null);
		var_ConditionalFormat1.BackColor = Color.FromArgb(255,255,0);
		var_ConditionalFormat1.ApplyTo = exontrol.EXG2ANTTLib.FormatApplyToEnum.exFormatToColumns;
	exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat2 = var_ConditionalFormats.Add("dbl(%1)-dbl(%0) = 4",null);
		var_ConditionalFormat2.ForeColor = Color.FromArgb(128,128,128);
		var_ConditionalFormat2.Bold = true;
		var_ConditionalFormat2.ApplyTo = exontrol.EXG2ANTTLib.FormatApplyToEnum.exFormatToItems;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	(var_Columns.Add("C1") as exontrol.EXG2ANTTLib.Column).Width = 8;
	(var_Columns.Add("C2") as exontrol.EXG2ANTTLib.Column).Width = 8;
	var_Columns.Add("");
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(2),1,3);
	var_Items.set_CellValue(var_Items.AddItem(5),1,2);
	var_Items.set_CellValue(var_Items.AddItem(5),1,6);
	var_Items.set_CellValue(var_Items.AddItem(2),1,6);
exg2antt1.EndUpdate();

1346
How can I specify the frame's color for all Task bars

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.Bars["Task"].set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,255);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task 1"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task 2"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.AddBar(var_Items.AddItem("Task 3"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
exg2antt1.EndUpdate();

1345
Is it possible to change the bar's frame color

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 25;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
	var_Chart.NonworkingDays = 0;
	var_Chart.Bars["Task"].Height = 15;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	h = var_Items.AddItem("Red-Frame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,255);
	h = var_Items.AddItem("Green-ThickFrame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,4099);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,32768);
	h = var_Items.AddItem("Red-ThickFrame/Shadow");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,12291);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,255);
exg2antt1.EndUpdate();

1344
I need to customize the labels on the chart. Is it possible

exg2antt1.BeginUpdate();
exg2antt1.HeaderHeight = 32;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("7/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%> - <%mmmm%> - <%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.FormatLabel = "int(value) case ( 0 : 'Shift <b>1</b><br><font ;11>' + yearday(dvalue) + '</font>/365 ' ; 8 : 'Shift <b>2</b><br>' + weekday(dv" +
"alue) + '/20'; 16 : 'Shift <b>3</b><br>' + (weekday(dvalue) case ( 0 : '12/22'; 1 : '12/23'; 2 : '2/3'; 3 : '12/13'; 4 : '22/34'" +
" ; 5 : '102-<fgcolor=FF0000><b>31</b></bgcolor>'; 6 : '1/1' ) )  ) ";
	var_Chart.UnitWidth = 64;
	var_Chart.NonworkingDays = 0;
exg2antt1.EndUpdate();

1343
Is it possible to show a frame around the bar

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 25;
exontrol.EXG2ANTTLib.Appearance var_Appearance = exg2antt1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BOUMQAAYAQGKIYBkAKBQAGaAoDDYMgzQwAAxDELMEwsACEIrjKCVIgkHYJRjGEZxMAsEwjAoaQChEZRUhEMgxDDIIyAJIcaw0GSEZwgOQZB" +
"iOEYnDANkIYJDSIYHTZIUzTJAdGSVJKNKAoKCaEgORo5SpNUghBDYKQTJyeagkaaRVCWLplRCNIwWNJdVwjEaQaaiarKNqKNpSViAEqSdKEZRLOyRZyiKQMEreY4EUDQ" +
"cxUPYMNYaAC6AAparpbwCFpSYpRND3TaEE4jSLKAA0HD6QqebIDDJaFq6PbVXSTOLPNhgPQcWxeVJBXjLExUALGSYLC6nKayHZcHACKK5VbVW6ZZDdNy/BLQeD4QANG4" +
"riuNJriMV4dgWVgHh+ZpgCeEIQEQJIgGkMYdA6JwjC0VAAmaJgQgmPp4lCWgSCiaB+DKIYIjqQpllMf6JgYAoAmASAWAaAZggQDJ/gKYJIDYDoDmECBGAOBBhEgVgUgS" +
"YRoGYGYGCGKB2BCBwhmiBgLggIgoHoJIJGGKIeCiBYiiiLgXgCIpohoMIMGKGJODSCwghiZg6g6Y5InYPh/lAECAg");
	var_Appearance.Add(2,"CP:1 2 2 -2 -2");
	var_Appearance.Add(3,"CP:1 -5 -5 5 5");
	var_Appearance.Add(4,"XP:Window 19 1");
	var_Appearance.Add(5,"XP:TreeView 2 1");
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,128);
	var_Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exHLines;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Default");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	h = var_Items.AddItem("Red-Frame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,255);
	h = var_Items.AddItem("Green-ThickFrame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,4099);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,32768);
	h = var_Items.AddItem("Red-ThickFrame/Shadow");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/7/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarPattern,12291);
	var_Items.set_ItemBar(h,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,255);
	h = var_Items.AddItem("EBN-Frame-Border");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,16777216);
	h = var_Items.AddItem("EBN-Inside Frame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/13/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.set_ItemBar(h,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,33554432);
	h = var_Items.AddItem("EBN-Outside Frame");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K4",null);
	var_Items.set_ItemBar(h,"K4",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,50331648);
	h = var_Items.AddItem("EBN-XP Close Button");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K5",null);
	var_Items.set_ItemBar(h,"K5",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,67108864);
	h = var_Items.AddItem("EBN-XP TreeView Glyph");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/15/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/18/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K6",null);
	var_Items.set_ItemBar(h,"K6",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarFrameColor,83886080);
exg2antt1.EndUpdate();

1342
Currently your control, provides customization up to Year,Month,Day,Hours,etc. I would like to add Shifts in a day. Shortly, I need to customize the chart's header. Is it possible

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("7/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AdjustLevelsToBase = true;
	var_Chart.set_PaneWidth(false,0);
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Level var_Level = var_Chart.get_Level(0);
		var_Level.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Level.Label = "<b><%d%> - <%mmmm%> - <%yyyy%>";
		var_Level.Unit = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	exontrol.EXG2ANTTLib.Level var_Level1 = var_Chart.get_Level(1);
		var_Level1.Label = "<%h%>";
		var_Level1.Count = 8;
		var_Level1.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour;
		var_Level1.set_ReplaceLabel(0.ToString()," Shift 1");
		var_Level1.set_ReplaceLabel(8.ToString()," Shift 2");
		var_Level1.set_ReplaceLabel(16.ToString()," Shift 3");
	var_Chart.UnitWidth = 48;
	var_Chart.NonworkingDays = 0;
exg2antt1.EndUpdate();

1341
The exbartootip shows dates after you moved or resized the bar. My question is during the move or resizing of bar(you click on bar and drag it,during that time) , can we display the new dates simultaneously so we will know where we want to move or resize the bar to

exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.DrawDateTicker = true;
	var_Chart.DateTickerLabel = "<%mmm%> <%d%><br><b><%yyyy%>";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Tasks A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_SelectableItem(var_Items.AddItem(null),false);
	h = var_Items.AddItem("Tasks B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);

1340
Is it possible to assign a tooltip automatically to all bars, so it can display the start and end, without specifying the IexBarToolTip for each bar
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,64);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.Bars["Task"].set_Def(exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarToolTip,"<b><%=%9 + '/' + %C0%></b><br><upline><dotline>Start: <%=%1%><br>End: <%=%2%><br>Duration: <%=(%2-%1)%><br>Working: <%=%258%>");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Tasks A");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/9/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	h = var_Items.AddItem("Tasks B");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);

1339
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.ConditionalFormat var_ConditionalFormat = exg2antt1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,0,0);
	var_ConditionalFormat.ApplyTo = (exontrol.EXG2ANTTLib.FormatApplyToEnum)0x1;
exg2antt1.Columns.Add("C1");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("C2") as exontrol.EXG2ANTTLib.Column);
	var_Column.HeaderBold = true;
	var_Column.HTMLCaption = "<fgcolor=FF0000>C2";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem(10),1,11);
	var_Items.set_CellValue(var_Items.AddItem(12),1,13);
exg2antt1.EndUpdate();

1338
How can I remove a date-time zone

// Click event - Occurs when the user presses and then releases the left mouse button over the tree control.
private void exg2antt1_Click(object sender)
{
	exg2antt1.Chart.RemoveTimeZone("Z1");
}
//this.exg2antt1.Click += new exontrol.EXG2ANTTLib.exg2antt.ClickEventHandler(this.exg2antt1_Click);

exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,18);
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.MarkTimeZone("Z1",Convert.ToDateTime("1/4/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")),16744544,null);

1337
How can I filter the check-boxes (method 2)
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.CustomFilter = "checked||-1|||unchecked||0";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(true);
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(false);

1336
How can I filter the check-boxes (method 1)
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column);
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXG2ANTTLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exCheck;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(true);
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(false);
	var_Items.AddItem(true);
	var_Items.AddItem(false);

1335
How can add a button to control

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exg2antt1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	System.Diagnostics.Debug.Print( "ButtonClick" );
	System.Diagnostics.Debug.Print( exg2antt1.Items.get_CellCaption(Item,ColIndex) );
	System.Diagnostics.Debug.Print( Key.ToString() );
}
//this.exg2antt1.ButtonClick += new exontrol.EXG2ANTTLib.exg2antt.ButtonClickEventHandler(this.exg2antt1_ButtonClick);

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 22;
exg2antt1.HeaderHeight = 22;
exg2antt1.Appearance = exontrol.EXG2ANTTLib.AppearanceEnum.None2;
exg2antt1.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exRowLines;
exg2antt1.ScrollBySingleLine = false;
exg2antt1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exg2antt1.set_HTMLPicture("pic1","c:\\exontrol\\images\\auction.gif");
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	exontrol.EXG2ANTTLib.Column var_Column = (var_Columns.Add("Type") as exontrol.EXG2ANTTLib.Column);
		var_Column.Width = 48;
		var_Column.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	exontrol.EXG2ANTTLib.Column var_Column1 = (var_Columns.Add("Appearance") as exontrol.EXG2ANTTLib.Column);
		var_Column1.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
		var_Column1.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
		var_Column1.HeaderAlignment = exontrol.EXG2ANTTLib.AlignmentEnum.CenterAlignment;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Items.<b>CellHasButton</b> property");
	var_Items.set_CellValue(h,1,"Button <b>1</b>");
	var_Items.set_CellHasButton(h,1,true);
	h = var_Items.AddItem("Items.<b>CellButtonAutoWidth</b> property");
	var_Items.set_CellValue(h,1," Button <b>2</b> ");
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_CellButtonAutoWidth(h,1,true);
	h = var_Items.AddItem("Items.<b>CellHasButton</b> property");
	var_Items.set_CellValue(h,1," <img>2</img>Button <b>3</b> ");
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_CellButtonAutoWidth(h,1,true);
	h = var_Items.AddItem("Items.<b>CellHasButton</b> property");
	var_Items.set_ItemHeight(h,32);
	var_Items.set_CellValue(h,1," <img>2</img>Button <b>4</b> <img>pic1</img> ");
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_CellButtonAutoWidth(h,1,true);
	h = var_Items.AddItem("Items.<b>CellHasButton</b> in splitted cells");
	var_Items.set_CellValue(h,1," Button <b>5.1</b> ");
	var_Items.set_CellHasButton(h,1,true);
	var_Items.set_CellButtonAutoWidth(h,1,true);
	object s = var_Items.get_SplitCell(h,1);
	var_Items.set_CellValue(0,s," Button <b>5.2</b> ");
	var_Items.set_CellHasButton(0,s,true);
	var_Items.set_CellButtonAutoWidth(0,s,true);
	h = var_Items.AddItem("Column.<b>Editor</b>, Items.<b>CellEditor</b>");
	var_Items.set_CellValue(h,1,"Visible when clicking the cell");
	exontrol.EXG2ANTTLib.Editor var_Editor = var_Items.get_CellEditor(h,1);
		var_Editor.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.EditType;
		var_Editor.AddButton("B1",1,0,"This is a bit of text that's shown when the cursor hovers the button B1",null,null);
		var_Editor.AddButton("B3",2,1,"This is a bit of text that's shown when the cursor hovers the button B3",null,null);
		var_Editor.AddButton("B4",1,1,"This is a bit of text that's shown when the cursor hovers the button B4",null,null);
		var_Editor.ButtonWidth = 24;
	h = var_Items.AddItem("Column.<b>Editor</b>, Items.<b>CellEditor</b>");
	var_Items.set_CellValue(h,1,3);
	exontrol.EXG2ANTTLib.Editor var_Editor1 = var_Items.get_CellEditor(h,1);
		var_Editor1.EditType = exontrol.EXG2ANTTLib.EditTypeEnum.CheckListType;
		var_Editor1.AddItem(1,"Flag 1",null);
		var_Editor1.AddItem(2,"Flag 2",null);
		var_Editor1.AddItem(4,"Flag 4",null);
		var_Editor1.AddItem(8,"Flag 8",null);
		var_Editor1.AddButton("C1",1,0,"This is a bit of text that's shown when the cursor hovers the button C1",null,null);
		var_Editor1.AddButton("C3",2,0,"This is a bit of text that's shown when the cursor hovers the button C2",null,null);
		var_Editor1.AddButton("C4",1,0,"This is a bit of text that's shown when the cursor hovers the button C3",null,null);
		var_Editor1.ButtonWidth = 24;
exg2antt1.EndUpdate();

1334
Is it posible to store additional values against each item, cell, bar, link, such as custom values such string / numbers etc
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,96);
(exg2antt1.Columns.Add("Column") as exontrol.EXG2ANTTLib.Column).Data = "Extra_Data_Column";
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Item 1");
	var_Items.set_ItemData(h,"Extra_Data_Item 1");
	var_Items.set_CellData(h,0,"Extra_Data_Item 1_Cell_0");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B1",null);
	var_Items.set_ItemBar(h,"B1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Extra_B1_Data");
	h = var_Items.AddItem("Item 2");
	var_Items.set_ItemData(h,"Extra_Data_Item 2");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"B2",null);
	var_Items.set_ItemBar(h,"B2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarData,"Extra_B2_Data");
	var_Items.AddLink("L1",var_Items.get_FindItem("Item 1",0,null),"B1",var_Items.get_FindItem("Item 2",0,null),"B2");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkUserData,"Extra_Link_Data");

1333
How do I set the parent item to show the total number of days for its children and also the minimum and maximum dates for its children

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.Indent = 11;
exg2antt1.HasLines = exontrol.EXG2ANTTLib.HierarchyLineEnum.exSolidLine;
exg2antt1.Items.AllowCellValueToItemBar = true;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Tasks");
	(var_Columns.Add("Start") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,1);
	(var_Columns.Add("End") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,2);
	(var_Columns.Add("Duration") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueToItemBarProperty,513);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.ShowNonworkingDates = false;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,220);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Project");
	var_Items.AddBar(h,"Summary",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/3/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h1 = var_Items.InsertItem(h,null,"Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h2 = var_Items.InsertItem(h,null,"Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("9/24/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	int h3 = var_Items.InsertItem(h,null,"Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("9/28/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("10/3/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.DefineSummaryBars(h,"",h1,"");
	var_Items.DefineSummaryBars(h,"",h2,"");
	var_Items.DefineSummaryBars(h,"",h3,"");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(h,true);
exg2antt1.EndUpdate();

1332
Is it possible to specify the distance between 2 bars to be at least 2 working days

// BarResizing event - Occurs when a bar is moving or resizing.
private void exg2antt1_BarResizing(object sender,int   Item,object   Key)
{
	exg2antt1.Items.SchedulePDM(Item,Key);
}
//this.exg2antt1.BarResizing += new exontrol.EXG2ANTTLib.exg2antt.BarResizingEventHandler(this.exg2antt1_BarResizing);

exg2antt1.BeginUpdate();
exg2antt1.DefaultItemHeight = 24;
exg2antt1.AntiAliasing = true;
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	exontrol.EXG2ANTTLib.Bar var_Bar = var_Chart.Bars.Add("Task:Split");
		var_Bar.Shortcut = "Task";
		var_Bar.Color = Color.FromArgb(0,0,0);
		var_Bar.Height = 17;
		var_Bar.Pattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternFrameShadow;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/3/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.LinksWidth = 2;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.AllowLinkBars = false;
	var_Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday;
	var_Chart.NonworkingDaysPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBDiagonal;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h1 = var_Items.AddItem("Task 1");
	var_Items.AddBar(h1,"Task",Convert.ToDateTime("1/4/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.set_ItemBar(h1,"K1",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	int h2 = var_Items.AddItem("Task 2");
	var_Items.AddBar(h2,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/5/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K2",null);
	var_Items.set_ItemBar(h2,"K2",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L1",h1,"K1",h2,"K2");
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkShowRound,-1);
	var_Items.set_Link("L1",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkColor,8421504);
	int h3 = var_Items.AddItem("Task 3");
	var_Items.AddBar(h3,"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K3",null);
	var_Items.set_ItemBar(h3,"K3",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarKeepWorkingCount,true);
	var_Items.AddLink("L2",h2,"K2",h3,"K3");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkText,"<br><br><br><br>This link <u>delays</u> the bars<br>with <b>2</b> working days");
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkPDMWorkingDelay,2);
	var_Items.set_Link("L2",exontrol.EXG2ANTTLib.LinkPropertyEnum.exLinkShowRound,-1);
	var_Items.SchedulePDM(0,"K1");
exg2antt1.EndUpdate();

1331
The item is not getting selected when clicking the cell's checkbox. What should I do
// CellStateChanged event - Fired after cell's state has been changed.
private void exg2antt1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exg2antt1.Items.set_SelectItem(Item,true);
}
//this.exg2antt1.CellStateChanged += new exontrol.EXG2ANTTLib.exg2antt.CellStateChangedEventHandler(this.exg2antt1_CellStateChanged);

(exg2antt1.Columns.Add("Check") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(0);
	var_Items.AddItem(1);
	var_Items.AddItem(2);
	var_Items.AddItem(3);

1330
How can I add a summary item as a child or subitem of another one

exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.LevelCount = 2;
exg2antt1.Columns.Add("Default");
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hSummary = var_Items.AddItem("Project");
	var_Items.AddBar(hSummary,"Summary",Convert.ToDateTime("1/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/1/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Sum",null);
	int hChild = var_Items.InsertItem(hSummary,0,"Task 1");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("1/2/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/4/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Task1",null);
	var_Items.DefineSummaryBars(hSummary,"Sum",hChild,"Task1");
	hChild = var_Items.InsertItem(hSummary,0,"Task 2");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("1/4/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Task2",null);
	var_Items.DefineSummaryBars(hSummary,"Sum",hChild,"Task2");
	hChild = var_Items.InsertItem(hSummary,0,"Task 3");
	var_Items.AddBar(hChild,"Task",Convert.ToDateTime("1/6/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Task3",null);
	var_Items.DefineSummaryBars(hSummary,"Sum",hChild,"Task3");
	var_Items.set_ExpandItem(hSummary,true);
exg2antt1.EndUpdate();

1329
How can I make an item a subitem of another one
exg2antt1.BeginUpdate();
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int hSummary = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(hSummary,0,"Task 1");
	hChild = var_Items.InsertItem(hSummary,0,"Task 2");
	hChild = var_Items.InsertItem(hSummary,0,"Task 3");
	var_Items.set_ExpandItem(hSummary,true);
exg2antt1.EndUpdate();

1328
Is it possible to move a bar per drag and drop to another owner/item
exg2antt1.BeginUpdate();
(exg2antt1.Columns.Add("Members") as exontrol.EXG2ANTTLib.Column).set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("9/20/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.AllowLinkBars = false;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.AllowSelectObjects = exontrol.EXG2ANTTLib.SelectObjectsEnum.exNoSelectObjects;
	var_Chart.LevelCount = 2;
	var_Chart.set_PaneWidth(false,96);
	var_Chart.Bars["Task"].OverlaidType = exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsIncludeCaption | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStackAutoArrange | exontrol.EXG2ANTTLib.OverlaidBarsTypeEnum.exOverlaidBarsStack;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Member <b>1</b>");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T102","Task <b>102</b>");
	var_Items.set_ItemBar(h,"T102",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"T102",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
	h = var_Items.AddItem("Member <b>2</b>");
	h = var_Items.AddItem("Member <b>3</b>");
	h = var_Items.AddItem("Member <b>4</b>");
	var_Items.AddBar(h,"Task",Convert.ToDateTime("9/21/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("9/23/2006",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"T103","Task <b>103</b>");
	var_Items.set_ItemBar(h,"T103",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarHAlignCaption,18);
	var_Items.set_ItemBar(h,"T103",exontrol.EXG2ANTTLib.ItemBarPropertyEnum.exBarCanMoveToAnother,true);
exg2antt1.EndUpdate();

1327
I have the chart displaying days, is it possible to display bars/tasks up to hours so inside days somehow
exg2antt1.BeginUpdate();
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.LevelCount = 2;
	var_Chart.UnitWidth = 38;
	var_Chart.set_PaneWidth(false,28);
	var_Chart.FirstVisibleDate = Convert.ToDateTime("3/4/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.ResizeUnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour;
exg2antt1.Columns.Add("Default");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("ASS"),"Task",Convert.ToDateTime("3/7/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("3/7/2011 3:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("EMB"),"Task",Convert.ToDateTime("3/7/2011 3:30:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("3/8/2011 9:15:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
	var_Items.AddBar(var_Items.AddItem("TES"),"Task",Convert.ToDateTime("3/8/2011 9:15:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("3/8/2011 13:45:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")),null,null);
exg2antt1.EndUpdate();

1326
Is it possible to limit the height of the item while resizing
// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exg2antt1_AddItem(object sender,int   Item)
{
	exg2antt1.Items.set_ItemMinHeight(Item,18);
	exg2antt1.Items.set_ItemMaxHeight(Item,72);
}
//this.exg2antt1.AddItem += new exontrol.EXG2ANTTLib.exg2antt.AddItemEventHandler(this.exg2antt1_AddItem);

exg2antt1.BeginUpdate();
exg2antt1.ItemsAllowSizing = exontrol.EXG2ANTTLib.ItemsAllowSizingEnum.exResizeItem;
exg2antt1.ScrollBySingleLine = false;
exg2antt1.BackColorAlternate = Color.FromArgb(240,240,240);
exg2antt1.Columns.Add("Names");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem("Mantel");
	var_Items.AddItem("Mechanik");
	var_Items.AddItem("Motor");
	var_Items.AddItem("Murks");
	var_Items.AddItem("Märchen");
	var_Items.AddItem("Möhren");
	var_Items.AddItem("Mühle");
exg2antt1.Columns[0].SortOrder = exontrol.EXG2ANTTLib.SortOrderEnum.SortAscending;
exg2antt1.EndUpdate();

1325
Is it possible to copy the hierarchy of the control using the GetItems method
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Def");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.PutItems(exg2antt1.GetItems(-1),null);

1324
I have found a property ReadOnly but this doesn't work correctly. I need the chart part of the control to be readonly too. Is it possible
exg2antt1.ReadOnly = exontrol.EXG2ANTTLib.ReadOnlyEnum.exReadOnly;
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exNoCreateBar;
	var_Chart.BarsAllowSizing = false;
	var_Chart.AllowLinkBars = false;

1323
How can I select a column
// MouseDown event - Occurs when the user presses a mouse button.
private void exg2antt1_MouseDownEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	exg2antt1.BeginUpdate();
	exg2antt1.Columns[exg2antt1.get_ColumnFromPoint(X,Y)].Selected = true;
	exg2antt1.Items.SelectAll();
	exg2antt1.EndUpdate();
}
//this.exg2antt1.MouseDownEvent += new exontrol.EXG2ANTTLib.exg2antt.MouseDownEventHandler(this.exg2antt1_MouseDownEvent);

exg2antt1.BeginUpdate();
exg2antt1.MarkSearchColumn = false;
exg2antt1.SingleSel = false;
exg2antt1.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exRectSel;
exg2antt1.SortOnClick = exontrol.EXG2ANTTLib.SortOnClickEnum.exNoSort;
exontrol.EXG2ANTTLib.Columns var_Columns = exg2antt1.Columns;
	var_Columns.Add("Column1");
	var_Columns.Add("Column2");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.set_CellValue(var_Items.AddItem("One"),1,"One");
	var_Items.set_CellValue(var_Items.AddItem("Two"),1,"Two");
exg2antt1.EndUpdate();

1322
I have several columns, but noticed that the filter is using AND between columns, but I need OR clause for filtering. Is it possible
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Item") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.Filter = "Child 1";
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Date") as exontrol.EXG2ANTTLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.DisplayFilterDate = true;
	var_Column1.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
	var_Column1.Filter = Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")).ToString();
	var_Column1.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exDate;
exg2antt1.FilterCriteria = "%0 or %1";
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarOr,"<font ;18><fgcolor=FF0000>or</fgcolor></font>");
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAnd,"<font ;18><fgcolor=FF0000>and</fgcolor></font>");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1"),1,Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 2"),1,Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 1"),1,Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellValue(var_Items.InsertItem(h,null,"Child 2"),1,Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1321
Is it possible exclude the dates being selected in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Date") as exontrol.EXG2ANTTLib.Column);
	var_Column.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1320
How can I display a calendar control inside the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Date") as exontrol.EXG2ANTTLib.Column);
	var_Column.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1319
Is it possible to include the dates as checkb-boxes in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Dates") as exontrol.EXG2ANTTLib.Column);
	var_Column.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exDate;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1318
How can I filter items for dates before a specified date
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Dates") as exontrol.EXG2ANTTLib.Column);
	var_Column.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
	var_Column.Filter = "to 12/27/2010";
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exDate;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1317
Is it possible to filter dates
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Dates") as exontrol.EXG2ANTTLib.Column);
	var_Column.SortType = exontrol.EXG2ANTTLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddItem(Convert.ToDateTime("12/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/28/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/29/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/30/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.AddItem(Convert.ToDateTime("12/31/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exg2antt1.EndUpdate();

1316
Is it possible to change the Exclude field name to something different, in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarExclude,"Leaving out");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
exg2antt1.EndUpdate();

1315
How can I display the Exclude field in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowExclude | exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
exg2antt1.EndUpdate();

1314
Is it possible to show and ensure the focused item from the control, in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowFocusItem | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_SelectItem(var_Items.InsertItem(h,null,"Child 2"),true);
	var_Items.set_ExpandItem(h,true);
exg2antt1.EndUpdate();

1313
Is it possible to show only blanks items with no listed items from the control
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowBlanks | exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1312
How can I include the blanks items in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowBlanks | exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1311
How can I select multiple items in the drop down filter window, using check-boxes
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exShowCheckBox;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1310
Is it possible to allow a single item being selected in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exSingleSel;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1309
How can I display no (All) item in the drop down filter window
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.set_Description(exontrol.EXG2ANTTLib.DescriptionTypeEnum.exFilterBarAll,"");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1308
Is it possible to display no items in the drop down filter window, so only the pattern is visible
exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = true;
	var_Column.FilterList = exontrol.EXG2ANTTLib.FilterListEnum.exNoItems;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();

1307
How can I specify the time-scale available when zoom-in/zoom-out or enlarging the chart
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowChangeUnitScale | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"");
	var_Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"");
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task C"),"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem(""),"",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Info","Click the <b>middle</b> mouse button and start dragging");
exg2antt1.EndUpdate();

1306
How can I enable zoom-in/zoom-out or enlarging the chart, using the mouse middle button
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowChangeUnitScale | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task C"),"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem(""),"",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Info","Click the <b>middle</b> mouse button and start dragging");
exg2antt1.EndUpdate();

1305
How can I enable zoom-in/zoom-out or enlarging, using the chart's header

exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowChangeUnitScale | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task C"),"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
exg2antt1.EndUpdate();

1304
How can I enable resizing the chart, using the mouse middle button
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartMiddle | exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
	var_Chart.MaxUnitWidth = 128;
	var_Chart.MinUnitWidth = 8;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task C"),"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem(""),"",Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/8/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"Info","Click the <b>middle</b> mouse button and start dragging");
exg2antt1.EndUpdate();

1303
How can I enable resizing the chart, using the chart's header
exg2antt1.BeginUpdate();
exg2antt1.Columns.Add("Task");
exontrol.EXG2ANTTLib.Chart var_Chart = exg2antt1.Chart;
	var_Chart.FirstVisibleDate = Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US"));
	var_Chart.set_PaneWidth(false,48);
	var_Chart.ShowNonworkingDates = false;
	var_Chart.LevelCount = 3;
	var_Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exDay;
	var_Chart.AllowResizeChart = exontrol.EXG2ANTTLib.ResizeChartEnum.exAllowResizeChartHeader;
	var_Chart.MaxUnitWidth = 128;
	var_Chart.MinUnitWidth = 8;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	var_Items.AddBar(var_Items.AddItem("Task A"),"Task",Convert.ToDateTime("1/2/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task B"),"Task",Convert.ToDateTime("1/6/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
	var_Items.AddBar(var_Items.AddItem("Task C"),"Task",Convert.ToDateTime("1/10/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")),"K1",null);
exg2antt1.EndUpdate();

1302
Is it possible to auto-numbering the children items but still keeps the position after filtering

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Items") as exontrol.EXG2ANTTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXG2ANTTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Child 2";
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos.1") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "1 ropos ''";
	var_Column1.Position = 0;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos.2") as exontrol.EXG2ANTTLib.Column);
	var_Column2.FormatColumn = "1 ropos ':'";
	var_Column2.Position = 1;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Pos.3") as exontrol.EXG2ANTTLib.Column);
	var_Column3.FormatColumn = "1 ropos ':|A-Z'";
	var_Column3.Position = 2;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos.4") as exontrol.EXG2ANTTLib.Column);
	var_Column4.FormatColumn = "1 ropos '|A-Z|'";
	var_Column4.Position = 3;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column5 = (exg2antt1.Columns.Add("Pos.5") as exontrol.EXG2ANTTLib.Column);
	var_Column5.FormatColumn = "'<font Tahoma;7>' + 1 ropos '-<b>||A-Z'";
	var_Column5.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column5.Position = 4;
	var_Column5.Width = 32;
	var_Column5.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column6 = (exg2antt1.Columns.Add("Pos.6") as exontrol.EXG2ANTTLib.Column);
	var_Column6.FormatColumn = "'<b>'+ 1 ropos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column6.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column6.Position = 5;
	var_Column6.Width = 48;
	var_Column6.AllowSizing = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.ApplyFilter();
exg2antt1.EndUpdate();

1301
Is it possible to auto-numbering the children items too

exg2antt1.BeginUpdate();
exg2antt1.Chart.set_PaneWidth(true,0);
exg2antt1.LinesAtRoot = exontrol.EXG2ANTTLib.LinesAtRootEnum.exLinesAtRoot;
exg2antt1.Columns.Add("Items");
exontrol.EXG2ANTTLib.Column var_Column = (exg2antt1.Columns.Add("Pos.1") as exontrol.EXG2ANTTLib.Column);
	var_Column.FormatColumn = "1 rpos ''";
	var_Column.Position = 0;
	var_Column.Width = 32;
	var_Column.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column1 = (exg2antt1.Columns.Add("Pos.2") as exontrol.EXG2ANTTLib.Column);
	var_Column1.FormatColumn = "1 rpos ':'";
	var_Column1.Position = 1;
	var_Column1.Width = 32;
	var_Column1.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column2 = (exg2antt1.Columns.Add("Pos.3") as exontrol.EXG2ANTTLib.Column);
	var_Column2.FormatColumn = "1 rpos ':|A-Z'";
	var_Column2.Position = 2;
	var_Column2.Width = 32;
	var_Column2.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column3 = (exg2antt1.Columns.Add("Pos.4") as exontrol.EXG2ANTTLib.Column);
	var_Column3.FormatColumn = "1 rpos '|A-Z|'";
	var_Column3.Position = 3;
	var_Column3.Width = 32;
	var_Column3.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column4 = (exg2antt1.Columns.Add("Pos.5") as exontrol.EXG2ANTTLib.Column);
	var_Column4.FormatColumn = "'<font Tahoma;7>' + 1 rpos '-<b>||A-Z'";
	var_Column4.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column4.Position = 4;
	var_Column4.Width = 32;
	var_Column4.AllowSizing = false;
exontrol.EXG2ANTTLib.Column var_Column5 = (exg2antt1.Columns.Add("Pos.6") as exontrol.EXG2ANTTLib.Column);
	var_Column5.FormatColumn = "'<b>'+ 1 rpos '</b>:<fgcolor=FF0000>|A-Z|'";
	var_Column5.set_Def(exontrol.EXG2ANTTLib.DefColumnEnum.exCellValueFormat,1);
	var_Column5.Position = 5;
	var_Column5.Width = 48;
	var_Column5.AllowSizing = false;
exontrol.EXG2ANTTLib.Items var_Items = exg2antt1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exg2antt1.EndUpdate();